AM_CFLAGS = $(PYTHON_CSPEC) -I$(SLANG_INC) -I../libpysl

## Installation dir for S-Lang modules
slmodexecdir = $(libdir)/slang/v2/modules

slmodexec_LTLIBRARIES = pysl-module.la
pysl_module_la_SOURCES = pysl-module.c
pysl_module_la_DEPENDENCIES = ../libpysl/libpysl.h ../libpysl/libpysl.c
pysl_module_la_LDFLAGS = -module -avoid-version -no-undefined \
			 -R $(SLANG_LIB) -L$(SLANG_LIB) -lslang \
			 $(PYTHON_LSPEC) \
			 -R $(libdir) -L../libpysl -lpysl

## Installation dir for S-Lang packages
slpkgdir = $(datadir)/slsh/local-packages

slpkg_DATA = pysl.sl
EXTRA_DIST = pysl.sl
